projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea32e8
)
(x_destroy_window): Reset the frame's X window after
author
Gerd Moellmann
<gerd@gnu.org>
Tue, 5 Dec 2000 14:32:18 +0000
(14:32 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Tue, 5 Dec 2000 14:32:18 +0000
(14:32 +0000)
destroying it.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 5f6e5e7b0189edccf694a1aa8af9269dee493eaa..464f8c39489b3c14d97af2e5390c38be494e9135 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-12413,7
+12413,11
@@
x_destroy_window (f)
if (FRAME_XIC (f))
free_frame_xic (f);
#endif
- XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc);
+ if (FRAME_X_WINDOW (f))
+ {
+ XDestroyWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f));
+ FRAME_X_WINDOW (f) = 0;
+ }
#ifdef USE_X_TOOLKIT
if (f->output_data.x->widget)
XtDestroyWidget (f->output_data.x->widget);